package com.linln.modules.system.repository;

import com.linln.modules.system.domain.PatientClinicalInformationEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface RPatientClinicalInformationRepository extends JpaRepository<PatientClinicalInformationEntity,Long> {
    public PatientClinicalInformationEntity findByBah(String bah);

    public List<PatientClinicalInformationEntity> findAllByBah(String bah);

    public PatientClinicalInformationEntity findByBahAndCyrq(String bah, Date cyrq);
}

